package com.jse;

import org.nutz.mvc.annotation.By;
import org.nutz.mvc.annotation.ChainBy;
import org.nutz.mvc.annotation.Encoding;
import org.nutz.mvc.annotation.Fail;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.IocBy;
import org.nutz.mvc.annotation.Modules;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.SessionBy;
import org.nutz.mvc.annotation.SetupBy;
import org.nutz.mvc.annotation.Views;

import com.jse.filter.JseActionFilter;
import com.jse.provider.JseSessionProvider;
import com.jse.view.JseViewMaker;

/**
 * Created by wizzer on 2016/6/21.
 */
@Modules
@Ok("json:full")
@Fail("http:500")
@IocBy(args = { "*js", "config/ioc/", "*anno", "com.jse", "*weixin", "*tx", "*async", "*quartz" })
@Encoding(input = "UTF-8", output = "UTF-8")
@Views(JseViewMaker.class)
@SetupBy(value = Setup.class)
@ChainBy(args = "config/chain/chain.js")
@SessionBy(JseSessionProvider.class)
@Filters(@By(type = JseActionFilter.class))
public class Module {

}
